class_name SimpleDamageAbility
extends GameplayAbility


func _activate(_target: AbilitySystemComponent) -> void:
	var gameplay_object = _target.get_parent() as GameplayObject
	if gameplay_object:
		gameplay_object.state_machine.get_current_state().dispatch_event("Hurt")
